<template>
  <div style="border: 1px solid #ccc">
    <Toolbar
      style="border-bottom: 1px solid #ccc"
      :editor="editorRef"
      :defaultConfig="toolbarConfig"
      :mode="mode"
    />
    <Editor
      style="height: 500px; overflow-y: hidden;"
      v-model="valueHtml"
      :defaultConfig="editorConfig"
      :mode="mode"
      @onCreated="handleCreated"
    />
  </div>
</template>

<script>
  import instance  from "../utils/request";
  import '@wangeditor/editor/dist/css/style.css'
  import {Editor,Toolbar} from "@wangeditor/editor-for-vue";

  export default {
    name:'testEditor',

  }
</script>

<style>

</style>
